package com.hgyc.mom.data.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.hgyc.mom.common.annotation.Excel;
import com.hgyc.mom.core.mybatis.EQ;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 大屏项目数据
 * </p>
 *
 * @author fwj
 * @since 2025-08-08
 */
@Data
@TableName("data_goview_project_data")
@Schema(name="大屏项目数据对象", description="大屏项目数据对象")
public class GoviewProjectData implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "主键")
    private Long id;

    @Excel(name = "项目ID")
    @EQ
    @Schema(description = "项目ID")
    private Long projectId;

    @Excel(name = "项目数据")
    @Schema(description = "项目数据")
    private String content;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private Long createBy;

}
